<template>
  <div class="about">
    <!-- <h1>This is an about page</h1> -->
    <!-- <div class="about">{{test}}</div> -->

    <div>
      <div v-html="msg"></div>
      <vue-ueditor-wrap v-model="msg" :config="myConfig"></vue-ueditor-wrap>
    </div>
  </div>
</template>
<script>
import VueUeditorWrap from 'vue-ueditor-wrap'

export default {
  data () {
    return{
      msg:"7897979",
      test:process,
      myConfig:{
        // serverUrl: "//www.myleguan.com/file/file_up", //如果需要上传功能,找后端小伙伴要服务器接口地址
        UEDITOR_HOME_URL: './UEditor/', //UEditor资源存放的路径,相对于打包后的index.html
        autoHeightEnabled: false, //编辑器不自动被内容撑高
        initialFrameHeight: 240, //初始化容器高度
        initialFrameWidth: 1200, //初始化容器宽度
        enableAutoSave: true //开启自动保存
        

      }
    }
  },
  methods: {
    
  },
  created () {
    // console.log('手动配置信息',process.env)
    // console.log(1111,VueUeditorWrap)
    // let src = localStorage.getItem('ueditor_preference')
    // console.log(JSON.parse(src))
    // if(src){
      // this.msg = JSON.parse(src)
    // }
  console.log(axios)
// this.$http.post('http://120.35.10.209:9604/dy/user/getDyUserInfoByChildDomains',{pageSize: 3,
//     sort: -1,
//     orderByName: 'funs',
//     childDomains: '美女,帅哥,全部',
//     lgCustomerId: 1001195244,
//     token: 'y7SXZD6CipffQ30J3QxO+hK7pUXg6IySrNkEl+WSIxWz5YKbR1jXxfZSCEWhN43jwOzt6+r8s4oZH+spFn3MfSTknXipoN3UXxz7lDWDLXjhzWGrnDDt6hnQ0/spYYVwlmRdh3JN2M3FgsIQ64K7qWwjlwTLf3rsA9fDyxwiV3Zb8bRGQb9hWmdSNtnhynSCvEhI6xMZgAcnk9FfGeUsaGfCKYGttNNiMdW71yGgcg+850awV0M/eSHwbCxgE66VnoBlSoBiznxNtgCINA640xGxHx2iiYKswRSZ+XkfsMDw6vsDIAKM5pXmJUs4WZUVqmA+ytu5tsdAH+gPilpIqXsXri7o4PuiNxH8DTe1VkREVPwUryOk/M+grwcXlo9dveahgAnjqn4=|1557134534084',
//     identity: 3})
// .then(res=>{console.log('成功',res)})
// .catch(err=>{console.log('失败',err)})


    
  },
  components:{
    VueUeditorWrap
  }
}
</script>
<style lang="stylus">
  *
    padding:0
    margin:0
  .about
    font-size: 40px
</style>
